package com.house.service.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.house.model.entity.Equipment;
import com.house.model.vo.EquipmentVo;
import com.house.service.mapper.EquipmentMapper;
import com.house.service.service.IEquipmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EquipmentServiceImpl extends ServiceImpl<EquipmentMapper, Equipment> implements IEquipmentService {
    @Autowired
    EquipmentMapper equipmentMapper;

    @Override
    public List<EquipmentVo> equipmentVoList(){
        List<EquipmentVo>list = equipmentMapper.equipmentVoList();
        return list;
    }
}
